Computation and Deduction
نویسنده
چکیده
ion and function application employ the notion of substitution. Recall the inference rule and its representation in LF: e1 ↪→ lam x. e1 e2 ↪→ v2 [v2/x]e1 ↪→ v ev app e1 e2 ↪→ v ev app : ΠE1:exp. ΠE2:exp. ΠE′ 1:exp→ exp. ΠV2:exp. ΠV :exp. eval E1 (lam E′ 1) → eval E2 V2 → eval (E′ 1 V2) V → eval (app E1 E2) V. As before, we transcribe this (and the trivial rule for evaluating λ-expressions) into Elf. ev_lam : eval (lam E) (lam E). ev_app : eval (app E1 E2) V exp will be instantiated to ([x:exp] !e1"). In the operational semantics of Elf, an application which is not in canonical form (such as (E1’ V2) after instantiation of E1’ and V2) will be reduced until it is in head-normal form (see Section ??)—in this case this means performing the substitution of V2 for the top-level bound variable in E1’. As an example, consider the evaluation of (lam x. x) z which is given by the deduction ev lam lam x. x ↪→ lam x. x ev z z ↪→ z ev z z ↪→ z ev app. (lam x. x) z ↪→ z
منابع مشابه
Normalization in Supernatural deduction and in Deduction modulo
Deduction modulo and Supernatural deduction are two extentions of predicate logic with computation rules. Whereas the application of computation rules in deduction modulo is transparent, these rules are used to build non-logical deduction rules in Supernatural deduction. In both cases, adding computation rules may jeopardize proof normalization, but various conditions have been given in both ca...
متن کاملNatural Deduction Calculus for Computation Tree Logic CTL
We present a natural deduction calculus for the computation tree logic CTL defined with the full set of classical and temporal logic operators. The system extends the natural deduction construction of the linear-time temporal logic. This opens the prospect to apply our technique as an automatic reasoning tool in a deliberative decision making framework across various applications in AI and Comp...
متن کاملImplementing Tabular Deduction for Multimodal Logical Grammar
The paper proposes a method for tabular deduction for multimodal logical grammar, extending a method for linear logic presented in (Hepple, 1996; Hepple, 1998). Tabular deduction for multimodal logical grammar avoids redundant computation like chart parsing does for CFGs. The method discussed here enables one to process any kind of multimodal logical grammar fragment. An implementation of the m...
متن کاملMathematics as a Computational Model
Simple basic mathematical notation and natural deduction are used everyday by the average person to do computation. This paper discusses the beauty of this model of computation and questions why this model has not been adopted. A brief description is given of a prototype implementation of this model. The main focus of the paper is on the considerable benefits the current mathematical model has ...
متن کاملDeduction versus Computation: The Case of Induction
The fundamental difference and the essential complementarity between computation and deduction are central in computer algebra, automated deduction, proof assistants and in frameworks making them cooperating. In this work we show that the fundamental proof method of induction can be understood and implemented as either computation or deduction. Inductive proofs can be built either explicitly by...
متن کاملCut Elimination in Deduction Modulo by Abstract Completion (Full Version)
Deduction Modulo implements Poincaré’s principle by identifying deduction and computation as different paradigms and making their interaction possible. This leads to logical systems like the sequent calculus or natural deduction modulo. Even if deduction modulo is logically equivalent to first-order logic, proofs in such systems are quite different and dramatically simpler with one cost: cut el...
متن کامل